package dataObjects;

/**
 * AbstractDose entity provides the base persistence definition of the Dose
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractDose implements java.io.Serializable {

	// Fields

	private DoseId id;
	private Integer amount;
	private String unit;
	private String frequency;
	private Integer reminder;

	// Constructors

	/** default constructor */
	public AbstractDose() {
	}

	/** minimal constructor */
	public AbstractDose(DoseId id, Integer amount, String unit, String frequency) {
		this.id = id;
		this.amount = amount;
		this.unit = unit;
		this.frequency = frequency;
	}

	/** full constructor */
	public AbstractDose(DoseId id, Integer amount, String unit,
			String frequency, Integer reminder) {
		this.id = id;
		this.amount = amount;
		this.unit = unit;
		this.frequency = frequency;
		this.reminder = reminder;
	}

	// Property accessors

	public DoseId getId() {
		return this.id;
	}

	public void setId(DoseId id) {
		this.id = id;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getFrequency() {
		return this.frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}

	public Integer getReminder() {
		return this.reminder;
	}

	public void setReminder(Integer reminder) {
		this.reminder = reminder;
	}

}